#pragma once

#include "sys/IInterface.h"
#include "CommandID.h"

interface ICommand;	class StateContext;

interface ICommandProcessor : public IInterface
{
	DEFINE_IID(IID_CommandProcessor)

	virtual void ExecuteCommand(ICommand* command)  = 0;

	virtual void Undo() = 0;
	virtual void Redo() = 0;
};

